package com.weishuang.monitor.leader.entity;

import java.io.Serializable;

import com.weishuang.monitor.leader.commons.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 数据字典类型
 * </p>
 *
 * @author weishuang
 * @since 2021-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysDictType extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 字典名称
     */
    @NotBlank(message = "类型名称不能为空！")
    private String dictName;

    /**
     * 字典类型
     */
    @NotBlank(message = "类型值不能为空！")
    private String dictType;

    /**
     * 描述
     */
    private String remark;

}
